﻿using JESAI.Platform.Application.Abstractions.Workflow.Enums;

namespace JESAI.Platform.WebApi.Vos.Workflow
{
    public class NodeFormResponse
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 是否只读
        /// </summary>
        public bool IsReadonly { get; set; }

        /// <summary>
        /// 表单ID
        /// </summary>
        public string FormId { get; set; }

        /// <summary>
        /// 表单编码
        /// </summary>
        public string FormCode { get; set; }


        /// <summary>
        /// 序号
        /// </summary>
        public int SortNum { get; set; }

        /// <summary>
        /// 节点ID
        /// </summary>
        public string NodeId { get; set; }

        /// <summary>
        /// 表单名称
        /// </summary>
        public string FormName { get; set; }

        /// <summary>
        /// 表单路径
        /// </summary>
        public string FormPath { get; set; }


        /// <summary>
        /// 是否允许保存
        /// </summary>
        public bool IsAllowSave { get; set; }

        /// <summary>
        /// 是否显示
        /// </summary>
        public bool IsShow { get; set; }

        /// <summary>
        /// 表单类型
        /// </summary>
        public FormType FormType { get; set; }

        /// <summary>
        /// 在线表单内容
        /// </summary>
        public string FormContent { get; set; }
    }
}
